﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HorizontalAlignment.cs" company="Marcelo Roca">
//   Copyright (c) 2011 Marcelo Roca. All rights reserved.
// </copyright>
// <author name="Marcelo Roca" email="marce@marceloroca.com"/>
// <license>
//   This program is free software: you can redistribute it and/or modify
//   it under the terms of the GNU General Public License as published by
//   the Free Software Foundation, either version 3 of the License, or
//   (at your option) any later version.
// 
//   This program is distributed in the hope that it will be useful,
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//   GNU General Public License for more details.
//
//   You should have received a copy of the GNU General Public License
//   along with this program.  If not, see http://www.gnu.org/licenses/.
// </license>
// --------------------------------------------------------------------------------------------------------------------

namespace GameKits.Unity.GuiForms
{
    /// <summary>
    /// Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element. 
    /// </summary>
    public enum HorizontalAlignment
    {
        /// <summary>
        /// Use none alignment
        /// </summary>
        None,

        /// <summary>
        /// An element aligned to the left of the layout slot for the parent element. 
        /// </summary>
        Left,

        /// <summary>
        /// An element aligned to the center of the layout slot for the parent element.
        /// </summary>
        Center,

        /// <summary>
        /// An element aligned to the right of the layout slot for the parent element. 
        /// </summary>
        Right,

        /// <summary>
        /// An element stretched to fill the entire layout slot of the parent element. 
        /// </summary>
        Stretch
    }
}
